package com.isoft.demo01.dao.impl;

import com.isoft.demo01.dao.GameDao;
import com.isoft.demo01.entity.Game;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class GameRepository {
    @Autowired
    GameDao gameDao;
    public int insert(Game game){
        return gameDao.insert(game);
    }
}
